package com.wx.bean;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

public class TulingLog {

    @Value("1")
    private int flag;

    public TulingLog() {
        System.out.println("我是 TulingLog 的无参构造方法");
    }

    public int getFlag() {
        return flag;
    }

    public void setFlag(int flag) {
        this.flag = flag;
    }

	@Override
	public String toString() {
		return "TulingLog{" +
				"flag=" + flag +
				'}';
	}
}
